package me.kagami.autotesthelper;


public class AutoTestHelpDto {
    private String className;
    private String functionName;
    private boolean yaml;
    private boolean json;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        final String[] split = className.split("#");
        if (split.length == 1) {
            this.className = className;
        } else {
            this.className = split[0];
            this.functionName = split[1];
        }
    }

    public boolean isYaml() {
        return yaml;
    }

    public void setYaml(boolean yaml) {
        this.yaml = yaml;
    }

    public boolean isJson() {
        return json;
    }

    public void setJson(boolean json) {
        this.json = json;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }
}